#ifndef GAMEPROCESSMANAGER_H
#define GAMEPROCESSMANAGER_H

#include <list>
#include "GameProcess.h"

typedef std::list<boost::shared_ptr<GameProcess>> ProcessList;

class GameProcessManager
{
public:
	GameProcessManager(void);
	~GameProcessManager(void);
	void attach(GameProcessPtr process);
	void update(const unsigned long elapsedTime);
private:
	void detach(GameProcessPtr process);
	ProcessList mProcessList;
};

#endif